home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Development / General / ViewIt™ 2.24 Shareware / About Compilers / About Compilers.rsrc / TEXT_1013_CS3. Pointers.txt < prev    next >
Text File  |  1994-03-03  |  492b  |  8 lines

  1. Pointers
  2.   Toolbox and FaceWare programming often requires you to find memory addresses (pointers) of records, arrays, or numbers.  The following table presents the expressions supported by each language that would return the address of the "thing".  The "thing" might, for example, be a module's shared record.
  3.  
  4.  language   memory address of the ‚Äúthing‚Äù
  5.  Pascal     @thing
  6.  C, C++     &thing        ...if non-array or an array element
  7.             thing            ...if an array
  8.  FORTRAN    %loc(thing)